Pod::Spec.new do |s|
  # 指定 Pod 的名称
  s.name             = 'oneLocModel'
  
  # 指定 Pod 的版本
  s.version          = '0.1.1'

  # 简短描述
  s.summary          = '简短描述'
  
  # 详细描述
  s.description      = '详细描述'
  
  # 项目的主页
  s.homepage         = 'https://www.qq.com'
  
  # 截图（可选）
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  
  # 许可证信息
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  
  # 作者信息
  s.author           = { 'Cansing' => 'Cansing@163.com' }
  
  # 源代码信息
  s.source           = { :git => 'https://gitee.com/cansng/oneLocModel.git', :tag => s.version.to_s }
  
  # 社交媒体网址（可选）
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  
  # iOS 部署目标版本
  s.ios.deployment_target = '12.0'
  
  # 定义一个子模块 'Classes'
  s.subspec 'Classes' do |ss|
    # 指定源文件路径
    ss.source_files = 'oneLocModel/Classes/**/*.{h,m}'
    
    # 依赖库（可选）
    # ss.dependency 'oneCommonLib/Tools/OneService'
    # ss.dependency 'oneCommonLib/Tools/Header'
    # ss.dependency 'oneCommonLib/Tools/JQMapKit'
    # ss.dependency 'oneCommonLib/Tools/LogFilesManager'
    # ss.dependency 'oneCommonLib/Tools/Category'
    
    # 用户管理相关依赖（可选）
    # ss.dependency 'oneCommonLib/UserManager/model'
    # ss.dependency 'oneCommonLib/UserManager/MSUserManager'
    
    # 添加具体依赖库
    ss.dependency 'FCUUID'
    ss.dependency 'Masonry'
    ss.dependency 'MBProgressHUD+JDragon'
  end
  
  # 设置为静态框架
  s.static_framework = true
  
  # 添加通用依赖库
  s.dependency 'oneCommonLib'
  
  # Xcode 配置
  s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator]' => 'arm64' }
  s.pod_target_xcconfig = {
    'EXCLUDED_ARCHS[sdk=iphonesimulator]' => 'arm64',
    'VALID_ARCHS' => 'arm64 armv7 x86_64'
  }
  
end
